package security.entity;

import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 优协主体用户表
 * </p>
 *
 * @author liyp
 * @since 2020-01-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="YxActor对象", description="优协主体用户表")
public class YxActor implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    private String id;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "帐号可用起始时间")
    private LocalDateTime validTimeFrom;

    @ApiModelProperty(value = "帐号可用截止时间")
    private LocalDateTime validTimeTo;

    @ApiModelProperty(value = "帐号状态  用户帐号禁止登录1，正常0。禁用后对应的登录帐号全都不能登录。")
    private Integer locked;

    @ApiModelProperty(value = "用户类型(10、第三方5、运营3、学员4、协会)")
    private String type;

    @ApiModelProperty(value = "注册来源:1、用户注册2、系统注册")
    private String registerType;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "插入记录时间")
    private LocalDateTime insertTime;

    @ApiModelProperty(value = "插入记录者")
    private String insertSaId;

    @ApiModelProperty(value = "最后更新记录时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "最后更新记录者")
    private String updateSaId;

    @ApiModelProperty(value = "删除时间")
    private LocalDateTime deleteTime;

    @ApiModelProperty(value = "删除记录着")
    private String deleteSaId;

    @ApiModelProperty(value = "删除标志，默认0")
    private Boolean deleted;

    @ApiModelProperty(value = "插入或更新记录的IP地址")
    private String ip;


}
